<% includeFileTemplate("../_header.html"){} %>

<body>
<% includeFileTemplate("../_navbar.html"){} %>
<div class="container" >
<div style="margin: 80px;"></div>

<div class="row">
<%for(list1 in list){%>
<div class="col-sm-6 col-md-4">

	<div class="thumbnail">
		<%
		if(isEmpty(list1.top) ){
			print("<img src= 'images/320_240.jpg' style='height: 200px; width: 100%; display: block;'>") ;
		}else{
			print("<img src='"+list1.top+"' style='height: 200px; width: 100%; display: block;' >");
			
		}
		%>
		<div class="caption">
			
			<h3>${list1.short_name}</h3>
			<h4>${list1.id}</h4>
			<p>生日：${list1.birthday}<br>简介：${list1.myself}</p>
			<p><a href="detail/${list1.id}" class="btn btn-primary" role="button">详情</a></p>
		</div>
	</div>
</div>
<% } %>
</div>
<div class="table-responsive">
<%includeFileTemplate("../_paginate.html",{"currentPage":page.pageNumber,"totalPage":page.totalPage,"actionUrl":""}){} %>
</div>
</div>
</body>
<% includeFileTemplate("../_footer.html"){} %>
<br><br>
<nav class="navbar navbar-default navbar-fixed-bottom">
  <div class="container-fluid">
	<h5 class="text-center">
	<a href="${request.ContextPath}/register" >我要上墙</a>
	</h5>
  </div>
</nav>
</html>